<?php
/**
 * Created by PhpStorm.
 * User: a4041
 * Date: 2018/6/13
 * Time: 13:46
 */

namespace App\Models;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;

class ShopKickback extends Model
{
    use SoftDeletes;
   // protected $table ='shop_kickbacks';
    protected $guarded = ['id'];
    //所属商铺
    public function shop(){
        return $this->belongsTo('App\Models\Shop','shop_id','id');
    }
}